package com.zhuoyue.system.mapper;

import com.zhuoyue.common.annotation.DataSource;
import com.zhuoyue.system.domain.LocalSceneZigbeeDeviceRelation;
import org.apache.ibatis.annotations.Param;

import java.util.List;

import static com.zhuoyue.common.enums.DataSourceType.SLAVE;

/**
 * @author wjming
 */
@DataSource(SLAVE)
public interface LocalSceneZigbeeDeviceRelationMapper {
    /**
     * 查询场景和zigbee设备的关联关系信息
     *
     * @param sceneId
     * @return
     */
    List<LocalSceneZigbeeDeviceRelation> selectByPrimarySceneId(@Param("sceneId") String sceneId);
}